/**
 * 
 */
package json_objects_received;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * @author Alejandro Casas
 *
 */
@XmlRootElement
public class RegisterBusiness {

	@XmlElement private String name;
	@XmlElement private String type;
	@XmlElement private String mail;
	@XmlElement private String password;
	@XmlElement private List<JaxBranch> branchlist;
	/**
	 * @param name
	 * @param type
	 * @param mail
	 * @param password
	 * @param branchlist
	 */
	public RegisterBusiness(String name, String type, String mail,
			String password, List<JaxBranch> branchlist) {
		this.name = name;
		this.type = type;
		this.mail = mail;
		this.password = password;
		this.branchlist = branchlist;
	}
	/**
	 * 
	 */
	public RegisterBusiness() {
		super();
		
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the mail
	 */
	public String getMail() {
		return mail;
	}
	/**
	 * @param mail the mail to set
	 */
	public void setMail(String mail) {
		this.mail = mail;
	}
	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * @param password the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	/**
	 * @return the branchlist
	 */
	public List<JaxBranch> getBranchlist() {
		return branchlist;
	}
	/**
	 * @param branchlist the branchlist to set
	 */
	public void setBranchlist(List<JaxBranch> branchlist) {
		this.branchlist = branchlist;
	}
	
	
}
